package asteroids.model.programs.types;

import asteroids.model.Ship;
import asteroids.model.programs.expressions.ExprStringEvaluator;
import asteroids.model.programs.expressions.Expression;

public abstract class Type {
	
	public abstract Expression getLiteral(Expression e, Ship s);
	
	public String getString(Expression e, Ship s) {
		ExprStringEvaluator ese = new ExprStringEvaluator(s);
		return e.accept(ese);
	}
}
